package com.jstide.olpm.appservice.entity;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * @author SangLiang on 2018/6/22.
 * @version 1.0
 */

@Data
@Entity
@Table(name = "person")
public class Process {

    @ManyToOne
    @JoinColumn(name = "machineId", nullable = false)
    private Machine machine;
    private String processId;
    private boolean delete;
}
